package com.tedu.egspringbootmvc.mapper;

import com.tedu.egspringbootmvc.pojo.entity.User;
import com.tedu.egspringbootmvc.pojo.entity.UserArticle;
import com.tedu.egspringbootmvc.pojo.vo.ArticleVO;
import com.tedu.egspringbootmvc.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserVO selectUsernameAndPassword(@Param("username") String username,@Param("password") String password);
    int insertUserArticle(UserArticle userArticle);
    ArticleVO selectByArticleId(int id);
}
